﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HardwarePlatform.SMS
{
    /// <summary>
    /// 短信通道业务接口
    /// CreateTime 2019-03-27 by zhouming 
    /// 短信发送接口
    /// 短信发送后操作数据库接口
    /// 余额查询接口
    /// </summary>
    public interface SMSInterface
    {
        /// <summary>
        /// 短信发送接口
        /// </summary>
        /// <param name="Phones"></param>
        /// <param name="Content"></param>
        /// <returns></returns>
        string Send(string Phones, string Content);

        /// <summary>
        /// 短信发送后操作数据库接口
        /// </summary>
        /// <param name="SendResult"></param>
        /// <param name="Phones"></param>
        /// <param name="Content"></param>
        /// <returns></returns>
        bool SavePhones(string SendResult, string Phones, string Content);

        /// <summary>
        /// 余额查询接口
        /// </summary>
        /// <returns></returns>
        string QueryBalance();
    }
}
